LinuxQMISDK-Lite  SLQS04.00.27
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CtlService.h
Go to the documentation of this file.
1 
6 #ifndef __CTL_SERVICE_H__
7 #define __CTL_SERVICE_H__
8 
9 #include "QmiService.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 // Forward decl.
16 struct QmuxTransport;
17 
18 
29 typedef struct CtlService
30 {
32 } CtlService;
33 
41 void CtlService_Initialize(CtlService* pThis, struct QmuxTransport* pTransport);
42 
47 void CtlService_ShutDown(CtlService* pThis);
48 
57 int CtlService_GetClientId(CtlService* pThis, uint8_t serviceType, uint8_t* clientId);
58 
69 int CtlService_ReleaseClientId(CtlService* pThis, uint8_t serviceType, uint8_t clientId);
70 
84  CtlService* pThis,
85  QmiService* pRegularService,
86  uint8_t serviceType,
87  QMI_INDICATION_CALLBACK pIndicationCallback,
88  void* pIndicationCallbackContext
89 );
90 
100  CtlService* pThis,
101  QmiService* pRegularService
102 );
103 
104 
105 #ifdef __cplusplus
106 } /* extern "C" { */
107 #endif
108 
109 
110 #endif //__CTL_SERVICE_H__
Definition: CtlService.h:29
void(* QMI_INDICATION_CALLBACK)(uint8_t *qmiPacket, uint16_t qmiPacketSize, void *pIndicationCallbackContext)
Definition: QmiService.h:27
struct CtlService CtlService
QmiService service
Definition: CtlService.h:31
int CtlService_GetClientId(CtlService *pThis, uint8_t serviceType, uint8_t *clientId)
int CtlService_ReleaseClientId(CtlService *pThis, uint8_t serviceType, uint8_t clientId)
void CtlService_Initialize(CtlService *pThis, struct QmuxTransport *pTransport)
int CtlService_ShutDownRegularService(CtlService *pThis, QmiService *pRegularService)
void CtlService_ShutDown(CtlService *pThis)
int CtlService_InitializeRegularService(CtlService *pThis, QmiService *pRegularService, uint8_t serviceType, QMI_INDICATION_CALLBACK pIndicationCallback, void *pIndicationCallbackContext)
Definition: QmiService.h:88
Definition: QmuxTransport.h:82

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved